<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Nov 3, 2010 10:08:36 AM by Hibernate Tools 3.2.4.GA -->
<hibernate-mapping>
    <class name="acme.serviceproviders.data.Car" table="rentalcars">
        <id name="carId" type="java.lang.Integer">
            <column name="car_id" />
            <generator class="identity" />
        </id>
        <property name="model" type="string">
            <column name="model" length="45" not-null="true" />
        </property>
        <property name="carType" type="string">
            <column name="car_type" length="45" not-null="true" />
        </property>
        <property name="city" type="string">
            <column name="city" length="45" not-null="true" />
        </property>        
        <property name="costsPerDay" type="float">
            <column name="costs_per_day" precision="12" scale="0" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
